package com.example.bnuzzu.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 
 * </p>
 *
 * @author BNUZZU
 * @since 2021-04-13
 */
@Data
@TableName(value = "userinfo")
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
public class Userinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "UserID", type = IdType.AUTO)
    private Integer userid;

    @TableField("UserName")
    private String username;

    @TableField("Password")
    private String password;

    @TableField("Sex")
    private String sex;

    @TableField("Phone")
    private String phone;

    @TableField("Age")
    private Integer age;

    @TableField("Email")
    private String email;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime regtime;

    @TableField("Signatrue")
    private String signatrue;

    @TableField("UserType")
    private Integer usertype;

    @TableField("State")
    private Integer state;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modtime;


}
